<template>
  <transition name="el-fade-in" mode="out-in">
    <router-view />
  </transition>
</template>

<script>
import { mapMutations } from "vuex"

export default {
  name: "vueApp",
  data() {
    return {};
  },
  created(){
    this.init()
  },
  methods: {
    ...mapMutations([
      'updateToken'
    ]),
    init() {
      let token = window.ssaSdk.getToken()
      this.updateToken(token)
    }
  }
};
</script>

<style>
#vueApp {
  font-size: 0.24rem;
}
</style>

